package ink.sunflowerk.dao;


import ink.sunflowerk.pojo.Student;

import java.util.List;

public interface StudentDao {
    public Integer insertStudent(Student student);

    public Integer deleteStudentById(Integer sid);

    public int updateStudentById(Student student);

    public Student getOneByKey(Integer sid);

    public List<Student> getAll();

    public int getCount();

    public List<Student> getPageStudent(int startRow, int rows);
}
